import type { loginDT, loginRT } from "@/types/login"
import { api } from "@/utils/request"

/**
 * @sign 登录
 * @url /auth/stu/login
 * @method POST
 */
const login_API = (data: loginDT) => {
	return api<loginRT>({
		method: 'POST',
		url: '/auth/stu/login',
		data
	})
}

export default { login_API }